package com.sixmac.core.base.model;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.SeqID;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by tangxh on 2016/11/23.
 */
@SuppressWarnings("serial")
public class BaseBean implements Serializable {

    private Integer id;
    private Date createDate;
    private Date updateDate;


    @AutoID
    @SeqID(name = "SEQ_NOTICE")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @ColumnIgnore(update=true)
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @ColumnIgnore(update=true)
    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
